package org.eiahe.hr.performance.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.eiahe.hr.performance.domain.PerformancePushRecord;

import java.util.Date;

/**
 * 绩效推送记录视图对象
 *
 * @author zhangnn
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = PerformancePushRecord.class)
public class PerformancePushRecordVo {

    /**
     * 记录ID
     */
    private Long recordId;

    /**
     * 租户ID
     */
    private String tenantId;

    /**
     * 工号
     */
    private String employeeNo;

    /**
     * 员工姓名
     */
    private String employeeName;

    /**
     * 结果ID
     */
    private Long resultId;

    /**
     * 推送时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date pushTime;

    /**
     * 推送状态(0未推送 1已推送)
     */
    private String pushStatus;

    /**
     * 推送状态名称
     */
    private String pushStatusName;

    /**
     * 阅读状态(0未读 1已读)
     */
    private String readStatus;

    /**
     * 阅读状态名称
     */
    private String readStatusName;

    /**
     * 删除标志(0存在 1删除)
     */
    private String delFlag;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
